package org.tea.inventory.db.dao;

import org.tea.inventory.db.domain.ApproveHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApproveHistoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ApproveHistory record);

    int insertSelective(ApproveHistory record);

    ApproveHistory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApproveHistory record);

    int updateByPrimaryKey(ApproveHistory record);

    List<ApproveHistory> selectApproveHistory(@Param("userName") String userName);
}